package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.dto.AddVolunteerWorkDto;
import org.example.entity.dto.UpdateVisitCountDto;
import org.example.entity.po.AppealCollectPO;
import org.example.entity.po.VolunteerWorkPO;
import org.example.entity.vo.admin.AppealCollectVO;
import org.example.entity.vo.admin.VolunteerWorkVO;
import org.example.entity.vo.pc.PCVolunteerWorkVO;

import java.util.List;

@Mapper
public interface VolunteerWorkMapper {

    List<VolunteerWorkVO> list();

    List<PCVolunteerWorkVO> pcList();

    void delete(@Param("id") Long id);

    VolunteerWorkVO detail(@Param("id")Long id);

    void insert(VolunteerWorkPO po);

    void addCount(UpdateVisitCountDto dto);

}
